package com.geostar.constructionland.common.entity.analyse;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import java.util.Date;

/**
 * @author yelll
 * @since 2020-5-26 17:01
 * 分析版本信息
 **/
@ApiModel("分析版本")
@Data
@TableName("VERSION_ALY_SPATIALANALYSE")
public class AnalyseVersion {
    @ApiModelProperty("版本ID")
    @TableId(value = "version_id",type = IdType.ASSIGN_ID)
    public String versionId;
    @ApiModelProperty("版本号")
    @NotEmpty(message = "版本号不能为空")
    @TableField(value = "version_no")
    public String versionNo;
    @ApiModelProperty(value = "分析类型",required = true)
    @NotBlank(message = "分析类型不能为空")
    @TableField("analyse_type")
    public String analyseType;
    @ApiModelProperty(value = "分析名称",required = true)
    @NotEmpty(message = "分析名称不能为空")
    @TableField(value = "analyse_name")
    public String analyseName;
    @ApiModelProperty(value = "分析描述",required = true)
    @TableField(value = "analyse_des")
    public String analyseDes;
    @ApiModelProperty(value = "发布时间")
    @TableField(value = "public_time")
    public Date publicTime;
    @ApiModelProperty("接口访问地址")
    @NotEmpty(message = "接口访问地址不能为空")
    @TableField(value = "url")
    public String url;
    @ApiModelProperty("访问类型")
    @NotEmpty(message = "访问类型不能为空")
    @TableField(value = "query_type")
    public String queryType;
    @ApiModelProperty("系统识别码")
    @NotEmpty(message = "系统识别码不能为空")
    @TableField(value = "application_guid")
    public String applicationGuid;
    @ApiModelProperty("参数类型")
    @NotEmpty(message = "参数类型不能为空")
    @TableField(value = "param_type")
    public String paramType;
    @ApiModelProperty("是否需要权属年度")
    @TableField(value = "need_qsnd")
    public String needQsnd;
    @TableField(value = "need_gdnd")
    @ApiModelProperty("是否需要耕地年度")
    public String needGdnd;
    @ApiModelProperty("是否需要地类年度")
    @TableField(value = "need_dlnd")
    public String needDlnd;
    @ApiModelProperty("是否需要使用缓冲区")
    @TableField(value = "need_buff")
    public String needBuff;
    @ApiModelProperty("是否需要平差")
    @TableField(value = "need_adjust_geoway")
    public String needGeoWayAdjust;
    @ApiModelProperty("是否返回图形")
    @TableField(value = "sffhtx")
    public String sffhtx;
    @ApiModelProperty("备注")
    @TableField(value = "remark")
    public String remark;
    @ApiModelProperty("地类分类版本")
    public String dlflbb;
    @ApiModelProperty("地块信息格式")
    @TableField(value="BLOCKTYPE")
    public String blockType;
}
